<div class="row-fluid">
    <div class="span9">

        <?php
        $views = $control->getViews();

        foreach ($views as $view) {
            if (is_array($view)) {
                $viewName = isset($view['view']) ? $view['view'] : (isset($view[0]) ? $view[0] : NULL);
                $viewData = isset($view['data']) ? $view['data'] : (isset($view[1]) ? $view[1] : $control);
            }
            if (is_string($view)) {
                $viewName = $view;
                $viewData = $control;
            }
            if ($viewName != NULL)
                $control->renderView($viewName, $viewData, NULL);
        }

        $controlChildren = $control->getChildrenOfControl();

        foreach ($controlChildren as $name => $control) {
            $control->render();
        }
        ?>
    </div>
    <div class="span3"></div>
</div>

